package orm;

/**
 * AbstractItemDiscount entity provides the base persistence definition of the
 * ItemDiscount entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractItemDiscount implements java.io.Serializable {

	// Fields

	private Integer itemDiscountId;
	private Discount discount;
	private Item item;
	private Integer threshold;

	// Constructors

	/** default constructor */
	public AbstractItemDiscount() {
	}

	/** full constructor */
	public AbstractItemDiscount(Discount discount, Item item, Integer threshold) {
		this.discount = discount;
		this.item = item;
		this.threshold = threshold;
	}

	// Property accessors

	public Integer getItemDiscountId() {
		return this.itemDiscountId;
	}

	public void setItemDiscountId(Integer itemDiscountId) {
		this.itemDiscountId = itemDiscountId;
	}

	public Discount getDiscount() {
		return this.discount;
	}

	public void setDiscount(Discount discount) {
		this.discount = discount;
	}

	public Item getItem() {
		return this.item;
	}

	public void setItem(Item item) {
		this.item = item;
	}

	public Integer getThreshold() {
		return this.threshold;
	}

	public void setThreshold(Integer threshold) {
		this.threshold = threshold;
	}

}